import Vue from 'vue'
import VueRouter from 'vue-router'
import Isla from '../views/Isla/index.vue'
import Socket from '../views/websocket/index.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Isla',
    component: Isla
  },
  {
    path: '/socket',
    name: 'Socket',
    component: Socket
  }
]

const router = new VueRouter({
  routes
})

export default router
